# main.py
import ctypes as ct
import numpy as np
import os
os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'
mode = 0x0001
fortlib = ct.CDLL("./my_hdf5.so")
print("my_hdf5动态链接库加载成功\n")
fortlib = ct.CDLL("./hdf5io_class.so", mode)
print("hdf5io_class动态链接库加载成功\n")
fortlib=ct.CDLL("./sysutil.so", mode)
print("sysutil动态链接库加载成功\n")
# fortlib=ct.CDLL("./parallel_class.so", mode)
# print("parallel_class动态链接库加载成功\n")
fortlib=ct.CDLL("./add.so")
print("add动态链接库加载成功\n")
fortlib=ct.CDLL("./json_test.so")
print("json_test动态链接库加载成功\n")
fortlib=ct.CDLL("./input_class.so", mode)
print("input_class动态链接库加载成功\n")

fortlib=ct.CDLL("./parallel_pipe_class.so")
print("parallel_pipe_class动态链接库加载成功\n")

